﻿namespace D.UtilCore.Dtos
{
    public class ApiBaseResult<T> 
    {
        /// <summary>
        /// 提示
        /// </summary>
        public string? Message { get; set; }

        /// <summary>
        /// 成功编码，默认200
        /// </summary>
        public StatusCodeEnum Code { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        public string? ErrorMsg { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public T? Data { get; set; }
    }
}
